﻿@model Free2AskWeb.Models.RegisterModel

@section Styles {
    <link href="@Url.Content("~/Content/logon.css")" rel="stylesheet" type="text/css" />
}

@{
    ViewBag.Title = "Register";
}

@section subnav{"Account"}
<h2>Register</h2>
<p>Minimum password  length:@Membership.MinRequiredPasswordLength.</p>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, "Failed to create account.")
    <div>
        <fieldset>
            <div>
                @Html.LabelFor(m=>m.UserName)
            </div>
            <div>
                @Html.TextBoxFor(m=>m.UserName)
                @Html.ValidationMessageFor(m=>m.UserName)
            </div>
            <div>
                @Html.LabelFor(m=>m.Password)
            </div>
            <div>
                @Html.TextBoxFor(m=>m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>
            <div>
                @Html.LabelFor(m=>m.EMail)
            </div>
            <div>
                @Html.TextBoxFor(m=>m.EMail)
                @Html.ValidationMessageFor(m => m.EMail)
            </div>
            <div>
                @Html.LabelFor(m=>m.CardNumber)
            </div>
            <div>
                @Html.TextBoxFor(m=>m.CardNumber)
                @Html.ValidationMessageFor(m => m.CardNumber)
            </div>
            <p>
                <input type="submit" value="Register" class="creat" />
            </p>
        </fieldset>
    </div>
}